package lzy.service.impl;

import lzy.entity.CropStatus;
import lzy.mapper.CropStatusMapper;
import lzy.service.CropStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class CropStatusServiceImpl implements CropStatusService {
    @Autowired
    private CropStatusMapper mapper;

    @Override
    public List<CropStatus> findAll() {
        return mapper.findAll();
    }

    @Override
    public List<String> findAllBaseIds() {
        return mapper.findAllBaseIds();
    }

    @Override
    public List<CropStatus> findByBaseId(String baseId) {
        return mapper.findByBaseId(baseId);
    }
} 